 // var mongoose     = require('mongoose');
var mongoose     = require('../models/db.js');
var Schema       = mongoose.Schema;
var DevSchema   = new Schema({
	_id:  String,
    oid:  Number,
    len:  Number,
    name: String,
    radio: Number,
    union1: String,
    union2: String,
    datyType:Number,
    group:   Number,
    group1:  Number,
    viewRight:Number,
    writeFlag:Number,
    value:Number,
    value_str:String,
});


module.exports = mongoose.model('Dev', DevSchema);
